package cn.fl.system.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import cn.cmm.base.framework.exception.BaseException;
import cn.cmm.base.framework.utils.StringUtils;
import cn.fl.system.dto.SysBkAccOrgRDTO;
import cn.fl.system.service.ISysBkAccOrgRService;
import cn.fl.system.transform.SysBkAccOrgRVOTransform;
import cn.fl.system.vo.SysBkAccOrgRVO;

@Service
public class SysBkAccOrgRServiceImpl implements ISysBkAccOrgRService {

	/**
	 * 日志
	 */
	@SuppressWarnings("unused")
	private static final Logger logger = LoggerFactory.getLogger(SysBkAccOrgRServiceImpl.class);
	
	/**
	 * TODO 自定义 API 暴露服务
	 */
	//@Autowired
	//private I自定义ApiService 自定义ApiService;

	@Override
	public SysBkAccOrgRVO selectById(Long id) throws BaseException{
		if(StringUtils.isEmpty(id))return null;
		SysBkAccOrgRDTO dto = null;//this.自定义ApiService.selectById(id);
		return SysBkAccOrgRVOTransform.toVO(dto);
	}

	/*@Override
	public Long add(SysBkAccOrgRVO entity) throws BaseException{
		if(null == entity)return null;
		return this.sysBkAccOrgRApiService.add(SysBkAccOrgRVOTransform.toDTO(entity));
	}*/

	/*@Override
	public boolean removeById(Long id) throws BaseException{
		if(StringUtils.isEmpty(id))return false;
		return this.sysBkAccOrgRApiService.removeById(id);
	}*/

	/*@Override
	public boolean modify(SysBkAccOrgRVO entity) throws BaseException{
		if(null == entity)return false;
		return this.sysBkAccOrgRApiService.modify(SysBkAccOrgRVOTransform.toDTO(entity));
	}*/

	/*@Override
	public Pager searchListPage(Pager page) throws BaseException{
		if(null == page)page = new Pager();
		return this.sysBkAccOrgRApiService.searchListPage(page);
	}*/
}
